<form method=post action="ActionDispatch" onsubmit="disableSubmit()">
<p>Are you sure you want to delete this user account ?
All your information will be wiped out.</P>
<input type=submit value="Yes. I am sure" name=submit />
<input type="hidden" value="delete" name="action" />
</form>
<hr/>
<button onclick='window.location.href="/fm2/User"' >No. Never mind</button>
<script>
    $('form').submit(function() {
        if (confirm('Confirm?')) {
            if (confirm('Are you sure?')) {
                alert('Your account will be deleted.');
                return true;
            }
        }
        return false;
    });
</script>
